package ModelLayer;

import java.util.ArrayList;

/**
 * @author (Gruppe C) 
 * @version (2012.11.09)
 */
public class Specimen
{
    // Fields
    private String serialNr;
    private String availableDate;
    private String availablePrice;
    private boolean isLoaned;
    
    // Ctor
    public Specimen(String serialNr, String availableDate, String availablePrice)
    {
        this.serialNr = serialNr;
        this.availableDate = availableDate;
        this.availablePrice = availablePrice;
    }
    
    public boolean getIsLoaned()
    {
        return isLoaned;
    }
    public void setIsLoaned(boolean status)
    {
        isLoaned = status;
    }
    
    public void print()
    {
        System.out.println(" Serial Nr: " + serialNr + ", Available Date: " + availableDate
        + ", Available Price: " + availablePrice);
    }
}
